package cn.getech.data.development.service.impl;

import cn.getech.data.development.dto.JobLinkDto;
import cn.getech.data.development.entity.JobLink;
import cn.getech.data.development.mapper.JobLinkMapper;
import cn.getech.data.development.service.JobLinkService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class JobLinkServiceImpl extends ServiceImpl<JobLinkMapper, JobLink> implements JobLinkService {

    @Autowired
    private JobLinkMapper jobLinkMapper;

    @Override
    public List<JobLinkDto> selectListByMenuId(Long menuId, Integer linkeType) {
        return jobLinkMapper.selectListByMenuId(menuId,linkeType);
    }
}
